package com.ruoyi.medical.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 工单图片对象 meioms_work_order_image
 * 
 * @author ruoyi
 * @date 2025-12-03
 */
@TableName("meioms_work_order_image")
public class MeiomsWorkOrderImage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片ID */
    @TableId
    private Long imageId;

    /** 工单ID */
    @Excel(name = "工单ID")
    private Long workOrderId;

    /** 图片URL */
    @Excel(name = "图片URL")
    private String imageUrl;

    /** 图片名称 */
    @Excel(name = "图片名称")
    private String imageName;

    /** 创建时间 */
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    public void setImageId(Long imageId)
    {
        this.imageId = imageId;
    }

    public Long getImageId()
    {
        return imageId;
    }
    public void setWorkOrderId(Long workOrderId)
    {
        this.workOrderId = workOrderId;
    }

    public Long getWorkOrderId()
    {
        return workOrderId;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setImageName(String imageName)
    {
        this.imageName = imageName;
    }

    public String getImageName()
    {
        return imageName;
    }
    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getCreateTime()
    {
        return createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("imageId", getImageId())
            .append("workOrderId", getWorkOrderId())
            .append("imageUrl", getImageUrl())
            .append("imageName", getImageName())
            .append("createTime", getCreateTime())
            .toString();
    }
}
